package com.smart.manager.pop.entities.body;


import com.smart.common.entities.core.BaseSearch;
import com.smart.manager.pop.entities.enums.BillKind;
import com.smart.manager.pop.entities.enums.BillState;
import com.smart.manager.pop.entities.views.InviterView;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 等级规则
 *
 * @author Administrator
 * @date 2022/10/31
 */

public class RDisBill {


    /**
     * 支付订单搜索条件
     *
     * @author xiaxuqiu
     * @date 2022/10/17
     */
    @Data
    @EqualsAndHashCode(callSuper = true)
    @ApiModel("RDisManager1")
    public static class SearchBody extends BaseSearch {

        @ApiModelProperty(value = "受益分销员")
        private String agentPhone;

        @ApiModelProperty(value = "台账类型")
        private BillKind kind;

        @ApiModelProperty(value = "台账状态")
        private BillState status;
    }

    @Data
    @ApiModel("RDistributorAgent2")
    public static class SearchH5 implements Serializable {

        private BillState status;

        private int month;

    }



    @Data
    @ApiModel("RDisManager1")
    public static class AddBody implements Serializable {

        @ApiModelProperty(value = "受益分销员")
        private InviterView agent;

        @ApiModelProperty(value = "台账类型")
        private BillKind kind;

        @ApiModelProperty(value = "台账状态")
        private BillState status;

        @ApiModelProperty("流水金额")
        private BigDecimal amount; // 金额

        @ApiModelProperty(value = "台账备注")
        private String remark;

    }


}
